package com.lzl;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@EnableEurekaClient
// 配置这个为Eureka的客户端
@EnableFeignClients(basePackages = {"com.lzl"})
// @ComponentScan("com.lzl")
// 这里就是配置的扫描包了
public class FeignDeptConsumerApplication {

    public static void main(String[] args) {
        SpringApplication.run(FeignDeptConsumerApplication.class, args);
    }
}
